-
Home
-
WooPayments: Integrated WooCommerce Payments
-
8.2.2
-
Code
-
Classes
- Database_Cache
Total Complexity |
50 |
Dependencies |
1 |
Dependents |
16 |
Total lines |
363 |
Lines of code |
142 |
Logical lines of code |
88 |
Comment lines |
159 |
Methods |
12 |
Properties |
1 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
should_refresh_cache() |
A |
49 |
15 |
32 |
get_ttl() |
A |
48 |
12 |
35 |
get_or_add() |
A |
52 |
8 |
24 |
get() |
S |
63 |
5 |
10 |
delete_by_prefix() |
S |
62 |
3 |
10 |
__construct() |
S |
81 |
1 |
3 |
init_hooks() |
S |
79 |
1 |
3 |
add() |
S |
79 |
1 |
3 |
delete() |
S |
76 |
1 |
4 |
disable_refresh() |
S |
81 |
1 |
3 |
write_to_cache() |
S |
65 |
1 |
9 |
is_expired() |
S |
69 |
1 |
6 |